package cn.uexpo.lhz;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author 小坏
 * @Date 2020/6/18 15:39
 * @Version 1.0
 * @program: 父工程 manage 万物起源之地
 * <p>
 * 1、整合Sentinel
 * 1)导入依赖
 * 2)下载Sentinel的控制台
 * 3)配置Sentinel控制台地址信息
 * 4)在控制台配置的参数 重启服务就会失效、需要配置到nacos中
 *
 */

@EnableTransactionManagement
@EnableDiscoveryClient
@MapperScan("cn.uexpo.lhz.dao")
@SpringBootApplication
public class ManageServerApp {

    public static void main(String[] args) {
        SpringApplication.run(ManageServerApp.class, args);
    }

}
